using IQIGame.Onigao.Framework;
using IQIGame.Onigao.Game;

namespace IQIGame.Onigao.GamePlay
{
    public partial class CFSMBlackBoard
    {
        public BaseConditionFunc CreateCommonConditionFunc(string name)
        {
            BaseConditionFunc obj = null;
            //公共条件
            switch (name)
            {
                case "triggered":
                    obj = ClassPool.Get<CFSMCondtriggered>();
                    break;

                default:
                    break;
            }
            return obj;
        }
    }
}
